package com.tms.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tms.mapper.OrderMapper;
import com.tms.entity.Order;
import com.tms.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 存储订单的详细信息(Order)表服务实现类
 *
 * @author makejava
 * @since 2024-12-27 23:10:31
 */
@Service("orderService")
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public IPage pageList(Page<Order> page, Wrapper<Order> wrapper) {
        return orderMapper.pageList(page, wrapper);
    }
}


